const Subscription = require('egg').Subscription;

class QueryAdmin extends Subscription {
    static get schedule() {
        return {
            interval: '1m',
            type: 'all',
            immediate: true,
            disable: true
        }
    }

    async subscribe() {
        console.log('QueryAdmin subscribe');
    }
}

module.exports = QueryAdmin;